package com.athui.enums;

/**
 * @description: TODO
 * @autor: zhangzhonghui
 * @create: 2024-08-02 13:26
 * @Version: 1.0
 */
public enum DriverEnums {
    MYSQL8_DRIVER("com.mysql.cj.jdbc.Driver"),
    MYSQL5_DRIVER("com.mysql.jdbc.Driver"),
    ORACLE_DRIVER("oracle.jdbc.OracleDriver"),
    SQLSERVER_DRIVER("com.microsoft.sqlserver.jdbc.SQLServerDriver"),
    HIVE_DRIVER("org.apache.hive.jdbc.HiveDriver");

    private String driver;

    DriverEnums(String driver) {
        this.driver = driver;
    }

    @Override
    public String toString() {
        return driver;
    }
}
